package cn.laowen.system.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import cn.laowen.basic.domain.BasicDomain;
import cn.laowen.org.domain.Department;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author laowen
 * @since 2022-06-21
 */


@Data
public class Menu extends BasicDomain{

    private static final long serialVersionUID = 1L;

    private String name;
    private String component;
    private String url;
    private String icon;
    private Integer index;
    private Long parentId;
    private String intro;
    private Boolean state;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)//前端菜单最后一页空数据不展示
    private List<Menu> children = new ArrayList<Menu>();





}
